package com.wanxi.util;

public enum PageEnum {
    HOME_NEWS(1, 3),
    HOME_PRODUCT(1, 2),
    COMPANY_PRODUCT(1, 10),
    NEWS_NEWS(1, 10),
    PRODUCT_PRODUCT(1, 8);
    private Integer page;
    private Integer limit;

    PageEnum(int page, int limit) {
        this.page = page;
        this.limit = limit;
    }

    public Integer getPage() {
        return page;
    }

    public Integer getLimit() {
        return limit;
    }
}
